/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mascotikas.client.users;

import com.smartgwt.client.types.Alignment;
import com.smartgwt.client.types.DragAppearance;
import com.smartgwt.client.widgets.Img;

/**
 *
 * @author aneira
 */
public class DragPiece extends Img {

    public DragPiece() {
        setWidth(52);
        setHeight(52);
        setLayoutAlign(Alignment.CENTER);
        setCanDragReposition(true);
        setCanDrop(true);
        setDragAppearance(DragAppearance.TARGET);
      //  setAppImgDir("images/animals/birds/");
    }

    public DragPiece(String src) {
        this();
        setSrc(src);
    }
}
